package model;

import static org.junit.Assert.*;

import model.container.Lectoren;


import org.junit.Test;

/**  
 * 
 * @author Dimitri Verschueren
 * 
 * and Dimitri Breuval
 *
 */

public class LectorenTest 
{
	Randoms rdm = new Randoms();
	@Test
	public void addLectorMethodTest()throws Exception
	{
		Lectoren l = new Lectoren();
		for(int i = 0 ;  i<15;i++)
			{
			String naamLector =rdm.randomGenerateName();
			String code= Integer.toString(rdm.randomCode());
			int uren = rdm.randomCursusTime();
			String adres = rdm.randomAdres();
				
			Lector lec = new Lector(naamLector, code, uren, adres);
		
			System.out.println(lec);
			l.addLectorMethod(lec);
		}
	}
}
